package com.design.patterns.strategy;

/**
 * @version V1.0
 * @Description： <p> TODO </p>
 * @Author xiayong
 * @CreatTime 2020/10/21 16:24
 */
public class Test {
    public static void main(String[] args) {
        String promotionKey = "LI_JIAN";
        PromotionActivity promotionActivity = new PromotionActivity(PromotionStrategyFactory.getPromotionStrategy(promotionKey));
        promotionActivity.executePromotionStrategy();
    }
}
